<template>
  <div class="page">
    <h2>应用权限设置</h2>
    <p>名字: {{ name }}</p>
  </div>
</template>

<script setup>
  import { getCurrentInstance } from 'vue'

  defineOptions({
    name: 'home'
  })

  const { appContext, ctx } = getCurrentInstance()
  const { $Request, $message, config, $router } = appContext.config.globalProperties
  let name = $ref('Tom')

  console.log(appContext)
  console.log(ctx)

</script>

<style scoped lang="scss"></style>



